package com.youzu.information.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;


/**
 * 部门管理
 * 
 * @author chglee
 * @email wanghd@yoozoo.com
 * @date 2017-09-27 14:28:36
 */
@Getter
@Setter
@ToString(callSuper=true, includeFieldNames=true)
public class DeptDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Long deptId;
	//上级部门ID，一级部门为0
	private Long parentId;
	//部门名称
	private String name;
	//排序
	private Integer orderNum;
	//是否删除  -1：已删除  0：正常
	private Integer delFlag;

//	@Override
//	public String toString() {
//		return "DeptDO{" +
//				"deptId=" + deptId +
//				", parentId=" + parentId +
//				", name='" + name + '\'' +
//				", orderNum=" + orderNum +
//				", delFlag=" + delFlag +
//				'}';
//	}
}
